#define Buzzer_Variable

#include "userDef.h"

void BuzzerAct(U8 timer)
{
    if (b_buzzer.set == ON)
    {
        timer_Buzzer = timer;

      
        PCBZ_Start(PCBZ_CHANNEL_0);// 
    }
}

void BuzzerTime(void) /* called in SysTime.c per 10ms */
{
    if (timer_Buzzer > 0)
    {
        timer_Buzzer--;

         if (timer_Buzzer == 0)
         {
           
			  PCBZ_Stop(PCBZ_CHANNEL_0);// 
         }
    }
}


